<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@include file="/WEB-INF/views/common/common.jsp"%>
    <script type="text/javascript" src="/static/js/system/role.js"></script>

    <title>叩丁狼客户关系管理系统-角色管理</title>
</head>
<body>
<table id="role_datagrid"></table>

<%--角色工具栏--%>
<div id="role_tb">
    <a href="javascript:;" class="easyui-linkbutton" data-cmd="add"
       data-options="iconCls:'icon-add',plain:true" >添加</a>
    <a href="javascript:;" class="easyui-linkbutton"  data-cmd="edit"
       data-options="iconCls:'icon-edit',plain:true">编辑</a>
    <a href="javascript:;" class="easyui-linkbutton" data-cmd="myRemove"
       data-options="iconCls:'icon-remove',plain:true" >删除</a>
    <a href="javascript:;" class="easyui-linkbutton"   data-cmd="reload"
       data-options="iconCls:'icon-reload',plain:true" id="btn_reload">刷新</a>
</div>

<%--角色的添加与编辑--%>
<div id="role_dialog">
    <form id="editForm" method="post">
        <input type="hidden" name="id" id="empId">
        <table align="center" style="margin-top: 20px; border-collapse: separate; border-spacing: 0px 10px">
            <tr>
                <td>角色名称:</td>
                <td><input class="easyui-textbox" name="name"/></td>
                <td>角色编码:</td>
                <td><input class="easyui-textbox" name="sn"/></td>
            </tr>

            <tr>
                <td colspan="2"><table id="role_allPers"></table></td>
                <td colspan="2"><table id="role_selfPers"></table></td>
            </tr>

        </table>
    </form>
</div>

<%--编辑与添加对话框--%>
<div id="role_button">
    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-save" data-cmd="save">保存</a>
    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">关闭</a>
</div>
</body>
</html>
